package com.liuzu.esys.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message {
    //编号
    private Integer id;
    //合作商名字
    private String name;
    //合作商品
    private String type;
    //合作时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date time;
    //营业执照
    private String license;
    //公司地址
    private String address;
    //联系电话
    private Integer phone;

}
